import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { MdlModule } from '@angular-mdl/core';
import { TableModule } from 'primeng/table'; 
import {
  TreeModule, BreadcrumbModule, ToolbarModule,InputTextModule,DialogModule,GalleriaModule,
  InputTextareaModule, PanelModule, ButtonModule, AutoCompleteModule,CalendarModule, FileUploadModule,
  CarouselModule, TabViewModule, PanelMenuModule,SharedModule, DataScrollerModule, EditorModule,
  ConfirmDialogModule,ConfirmationService,DropdownModule,DragDropModule,TooltipModule,RatingModule,ListboxModule
} from 'primeng/primeng';
import { QkSharedModule } from '../../module/qkshare.module';
import { noticeRoutes } from './qknotice.routes'; 
import { QkNoticeBaseComponent } from './qknotice-base.component';
import { QkNoticeEditComponent } from './qknotice-edit.component';
import { QkNoticeLisboxComponent } from './qknotice-listbox.component'; 
// import { QkPartSelectorComponent } from '../part/qkpart.component';
// import { QkHumanSelectorComponent } from '../part/qkhuman-selector.component';
// import { QkUnitSelectorComponent } from '../part/qkunit-selector.component';
// import { QkRoleSelectorComponent } from '../part/qkrole-selector.component';
@NgModule({
  imports: [
    MdlModule,
    QkSharedModule,
    FormsModule,
    ReactiveFormsModule,
    CommonModule,
    TreeModule,
    BreadcrumbModule,
    ToolbarModule,
    PanelModule,
    ButtonModule,
    AutoCompleteModule,
    InputTextModule,
    InputTextareaModule,
    TabViewModule,
    CarouselModule,
    PanelMenuModule,
    SharedModule,
    ConfirmDialogModule,
    DialogModule,
    CalendarModule,
    DropdownModule,
    DragDropModule,
    TooltipModule,
    GalleriaModule, 
    DataScrollerModule, 
    RatingModule,
    ListboxModule,
    EditorModule,
    FileUploadModule,
    TableModule,
    RouterModule.forChild(noticeRoutes)
  ],
  declarations: [
    QkNoticeBaseComponent,
    QkNoticeEditComponent,
    QkNoticeLisboxComponent,
    // QkPartSelectorComponent,
    // QkHumanSelectorComponent,
    // QkUnitSelectorComponent,
    // QkRoleSelectorComponent
  ],
  entryComponents: [
    // QkPartSelectorComponent
  ],
  exports: [
  ],
  providers: [
    ConfirmationService
  ]
})
export class QkNoticeModule { }
